
import ListItem from "../common/ListItem";
/**
 * 
 * @author clong 2020.11.01
 */
export default class EditableTreeItem extends ListItem {

    constructor() {
    
        super();
    }

    initUI():void{

        super.initUI();
    }

    show( data:any ):void{

        super.show( data );

        if( typeof data === "string" ){
            this.title = data;
        }
    }

    hide():void{

        super.hide();
    }
}